package com.kedou.sdk.params.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

public class PlatCoinDetal implements Parcelable {

    /**
     * 支付渠道类型ID
     */
    @SerializedName("currency")
    private String currencyText;

    /**
     * 支付渠道主题
     */
    @SerializedName("memo")
    private String memo;
    @SerializedName("id")
    private String id;
    @SerializedName("user_id")
    private String userId;

    /**
     * 支付渠道见到描述信息
     */
    @SerializedName("createtime")
    private String createtimeText;



    @SerializedName("type")
    private int type;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCurrencyText() {
        return currencyText;
    }

    public void setCurrencyText(String currencyText) {
        this.currencyText = currencyText;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCreatetimeText() {
        return createtimeText;
    }

    public void setCreatetimeText(String createtimeText) {
        this.createtimeText = createtimeText;
    }

    public PlatCoinDetal() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.currencyText);
        dest.writeString(this.memo);
        dest.writeString(this.id);
        dest.writeString(this.userId);
        dest.writeString(this.createtimeText);
        dest.writeInt(this.type);


    }

    protected PlatCoinDetal(Parcel in) {
        this.currencyText = in.readString();
        this.memo = in.readString();
        this.id = in.readString();
        this.userId = in.readString();
        this.createtimeText = in.readString();
        this.type = in.readInt();

    }

    public static final Creator<PlatCoinDetal> CREATOR = new Creator<PlatCoinDetal>() {
        @Override
        public PlatCoinDetal createFromParcel(Parcel source) {
            return new PlatCoinDetal(source);
        }

        @Override
        public PlatCoinDetal[] newArray(int size) {
            return new PlatCoinDetal[size];
        }
    };
}
